package com.tatesuke.tatescript.tree;

public class AddNode {

	private IntNode left;
	private IntNode right;

	public void setLeft(IntNode intNode) {
		this.left = intNode;
	}

	public void setRight(IntNode right) {
		this.right = right;
	}

	public IntNode run() {
		return new IntNode(left.getValue() + right.getValue());
	}

}
